import { Tools } from 'weaver-mobile';

//
export const get = params => {
  return Tools.callApi({
      url: '/api/fna/***********/**********',
      method: 'GET',
      params,
  });
};

//获取token
export const getInvoiceCloudToken = (params={}) => {
	return Tools.callApi({url:'/api/fna/fnaEmbileMicroReport/getInvoiceCloudToken',  method:'GET', params});
}

//获取fieldId
export const getFieldId = (params={}) => {
	return Tools.callApi({url:'/api/fna/invoiceLedger/getInvoiceFieldId',  method:'GET', params});
}

//生成报销单
export const addDetail = (params={}) => {
	return Tools.callApi({url:'/api/fna/invoiceLedger/writeBackToWorkflow',  method:'GET', params});
}

export const getEnterInvoiceTap = (params={}) => {
	return Tools.callApi({url:'/api/fna/fnaEmbileMicroReport/getEnterInvoiceTap',  method:'GET', params});
}

